/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sd.chat;

import java.io.Serializable;

/**
 *
 * @author Old
 */
public class PicSent implements Serializable {
    
    public byte[] picdata;
    public String picName;

    public PicSent(byte[] picdata, String picName) {
        this.picdata = picdata;
        this.picName = picName;
    }

    public PicSent() {
        this.picdata = new byte[0];
        this.picName = "";
    }

    public String getPicName() {
        return picName;
    }

    public void setPicName(String picName) {
        this.picName = picName;
    }

    public byte[] getPicdata() {
        return picdata;
    }

    public void setPicdata(byte[] picdata) {
        this.picdata = picdata;
    }

    @Override
    public String toString() {
        return "PicSent{" + "picName=" + picName + '}';
    }
    
    
    
}
